using FluentNHibernate.Conventions;
using FluentNHibernate.Conventions.Instances;

namespace Animoso.Data
{
    class TextConvention : IPropertyConvention
    {
        public void Apply(IPropertyInstance instance)
        {
            if(instance.Name == "Text")
                instance.CustomSqlType("text");
        }
    }
}